package com.pzb.wechat.domain;

import com.alibaba.fastjson.JSONArray;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pzb.common.annotation.Excel;
import com.pzb.common.core.domain.BaseEntity;

/**
 * 自提设置对象 wechat_pickup_setting
 * 
 * @author Mr_Wu
 * @date 2022-03-09
 */
public class WechatPickupSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商户id */
    private String extAppid;

    /** 联系人 */
    private String contacts;

    /** 联系电话 */
    private String phone;

    /** 地区编码 */
    private String areaCode;

    private JSONArray region;

    private String[] codeArray;

    /** 详细地址 */
    private String address;

    /** 完整地址，完整地址为省市区+详细地址 */
    private String fullAddress;

    /** 是否开启自提：0为开启，1为关闭 */
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExtAppid(String extAppid) 
    {
        this.extAppid = extAppid;
    }

    public String getExtAppid() 
    {
        return extAppid;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public JSONArray getRegion() {
        return region;
    }

    public void setRegion(JSONArray region) {
        this.region = region;
    }

    public String[] getCodeArray() {
        return codeArray;
    }

    public void setCodeArray(String[] codeArray) {
        this.codeArray = codeArray;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setFullAddress(String fullAddress) 
    {
        this.fullAddress = fullAddress;
    }

    public String getFullAddress() 
    {
        return fullAddress;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("extAppid", getExtAppid())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .append("areaCode", getAreaCode())
            .append("address", getAddress())
            .append("fullAddress", getFullAddress())
            .append("status", getStatus())
            .toString();
    }
}
